package com.cocolove2.library_cocodialog.animations.FlipEnter;

import android.animation.ObjectAnimator;
import android.view.View;

import com.cocolove2.library_cocodialog.animations.BaseAnimatorEffects;

/**
 * 该动画在小米2上会有白线
 */
public class FlipVerticalEnter extends BaseAnimatorEffects {
    @Override
    public void setupAnimator(View view) {
        mAnimatorSet.playTogether(//
                // ObjectAnimator.ofFloat(view, "rotationX", -90, 0));
                ObjectAnimator.ofFloat(view, "rotationX", 90, 0));
    }
}
